package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author mjy
 * @since 2021-06-23
 */
public class DeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备id
     */
    @TableId(value = "device_id", type = IdType.AUTO)
    private Integer deviceId;

    /**
     * imei号
     */
    private String imei;

    /**
     * m1卡号
     */
    private String m1Card;

    /**
     * 模型
     */
    private String model;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 组织code
     */
    private String orgCode;

    /**
     * 组织名称
     */
    private String orgName;

    /**
     * 学生id
     */
    private Integer studentId;

    /**
     * 最后上传时间
     */
    private Long lastUpTime;

    /**
     * sim卡号码
     */
    private String simCard;

    /**
     * 工作模式1定位模式  2省电模式 3无GPS模式 4无定位模式 5短信模式
     */
    private Integer workingPattern;

    /**
     * 定位地址
     */
    private String address;

    /**
     *纬度
     */
     private String latitude;


    /**
     * 经度
     */
    private String longitude;


    /**
     * 上传时间间隔
     */
    private Integer upInterval;

    /**
     * 电量
     */
    private Integer battery;

    /**
     * 速度
     */
    private Double speed;

    /**
     * 朝向
     */
    private String orientation;

    /**
     * 工作模式的指令序列号,为空表示正常状态
     */
    private String commandNumber;

    /**
     * 客户id
     */
    private Integer customerId;

    /**
     * 固件
     */
    private String firmware;

    /**
     * 客户的设备绑定的学生名字
     */
    private String cusStuName;

    /**
     * 设备类型  1-平台设备 2-云对接设备 3-H5设备
     */
    private Integer deviceType;

    /**
     * 是否有屏幕
     */
    private Integer ifScreen;

    private String rfid;

    private Integer exchangePlatform;

    private String deviceSecret;

    private String productKey;

    private String deviceKey;

    private int supportPort;

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getM1Card() {
        return m1Card;
    }

    public void setM1Card(String m1Card) {
        this.m1Card = m1Card;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Long getLastUpTime() {
        return lastUpTime;
    }

    public void setLastUpTime(Long lastUpTime) {
        this.lastUpTime = lastUpTime;
    }

    public String getSimCard() {
        return simCard;
    }

    public void setSimCard(String simCard) {
        this.simCard = simCard;
    }

    public Integer getWorkingPattern() {
        return workingPattern;
    }

    public void setWorkingPattern(Integer workingPattern) {
        this.workingPattern = workingPattern;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Integer getUpInterval() {
        return upInterval;
    }

    public void setUpInterval(Integer upInterval) {
        this.upInterval = upInterval;
    }

    public Integer getBattery() {
        return battery;
    }

    public void setBattery(Integer battery) {
        this.battery = battery;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public String getOrientation() {
        return orientation;
    }

    public void setOrientation(String orientation) {
        this.orientation = orientation;
    }

    public String getCommandNumber() {
        return commandNumber;
    }

    public void setCommandNumber(String commandNumber) {
        this.commandNumber = commandNumber;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getFirmware() {
        return firmware;
    }

    public void setFirmware(String firmware) {
        this.firmware = firmware;
    }

    public String getCusStuName() {
        return cusStuName;
    }

    public void setCusStuName(String cusStuName) {
        this.cusStuName = cusStuName;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getIfScreen() {
        return ifScreen;
    }

    public void setIfScreen(Integer ifScreen) {
        this.ifScreen = ifScreen;
    }

    public String getRfid() {
        return rfid;
    }

    public void setRfid(String rfid) {
        this.rfid = rfid;
    }

    public Integer getExchangePlatform() {
        return exchangePlatform;
    }

    public void setExchangePlatform(Integer exchangePlatform) {
        this.exchangePlatform = exchangePlatform;
    }

    public String getDeviceSecret() {
        return deviceSecret;
    }

    public void setDeviceSecret(String deviceSecret) {
        this.deviceSecret = deviceSecret;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceKey() {
        return deviceKey;
    }

    public void setDeviceKey(String deviceKey) {
        this.deviceKey = deviceKey;
    }

    public int getSupportPort() {
        return supportPort;
    }

    public void setSupportPort(int supportPort) {
        this.supportPort = supportPort;
    }

    @Override
    public String toString() {
        return "DeviceInfo{" +
                "deviceId=" + deviceId +
                ", imei='" + imei + '\'' +
                ", m1Card='" + m1Card + '\'' +
                ", model='" + model + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", orgCode='" + orgCode + '\'' +
                ", orgName='" + orgName + '\'' +
                ", studentId=" + studentId +
                ", lastUpTime=" + lastUpTime +
                ", simCard='" + simCard + '\'' +
                ", workingPattern=" + workingPattern +
                ", address='" + address + '\'' +
                ", latitude='" + latitude + '\'' +
                ", longitude='" + longitude + '\'' +
                ", upInterval=" + upInterval +
                ", battery=" + battery +
                ", speed=" + speed +
                ", orientation='" + orientation + '\'' +
                ", commandNumber='" + commandNumber + '\'' +
                ", customerId=" + customerId +
                ", firmware='" + firmware + '\'' +
                ", cusStuName='" + cusStuName + '\'' +
                ", deviceType=" + deviceType +
                ", ifScreen=" + ifScreen +
                ", rfid='" + rfid + '\'' +
                ", exchangePlatform=" + exchangePlatform +
                ", deviceSecret='" + deviceSecret + '\'' +
                ", productKey='" + productKey + '\'' +
                ", deviceKey='" + deviceKey + '\'' +
                ", supportPort='" + supportPort + '\'' +
                '}';
    }
}
